/**
 * Order.java
 * 
 * Copyright@2015 OVT Inc. All rights reserved. 
 * 
 * 2015年12月21日
 */
package com.ovt.order.util.entity;

import java.util.List;

/**
 * Order
 * 
 * @Author brad.zhou
 * @Version 1.0
 * @See
 * @Since [OVT Cloud Platform]/[API] 1.0
 */
public class Order extends BaseEntity
{
    private String orderNo;

    private OrderState orderState;

    private float totalFee;

    private String userId;

    private String remark;

    private int isDelete;

    private List<OrderItem> orderItemList;

    /**
     * @return the orderNo
     */
    public String getOrderNo()
    {
        return orderNo;
    }

    /**
     * @param orderNo the orderNo to set
     */
    public void setOrderNo(String orderNo)
    {
        this.orderNo = orderNo;
    }


    /**
     * @return the orderState
     */
    public OrderState getOrderState()
    {
        return orderState;
    }

    /**
     * @param orderState the orderState to set
     */
    public void setOrderState(OrderState orderState)
    {
        this.orderState = orderState;
    }

    /**
     * @return the userId
     */
    public String getUserId()
    {
        return userId;
    }

    /**
     * @param userId the userId to set
     */
    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    /**
     * @return the orderRemark
     */
    public String getOrderRemark()
    {
        return remark;
    }

    /**
     * @param orderRemark the orderRemark to set
     */
    public void setOrderRemark(String orderRemark)
    {
        this.remark = orderRemark;
    }

    /**
     * @return the isDelete
     */
    public int getIsDelete()
    {
        return isDelete;
    }

    /**
     * @param isDelete the isDelete to set
     */
    public void setIsDelete(int isDelete)
    {
        this.isDelete = isDelete;
    }

    /**
     * @return the orderItemList
     */
    public List<OrderItem> getOrderItemList()
    {
        return orderItemList;
    }

    /**
     * @param orderItemList the orderItemList to set
     */
    public void setOrderItemList(List<OrderItem> orderItemList)
    {
        this.orderItemList = orderItemList;
    }

    public float getTotalFee()
    {
        return totalFee;
    }

    public void setTotalFee(float totalFee)
    {
        this.totalFee = totalFee;
    }

    public String getRemark()
    {
        return remark;
    }

    public void setRemark(String remark)
    {
        this.remark = remark;
    }

    @Override
    public String toString()
    {
        return "Order [orderNo=" + orderNo + ", orderState=" + orderState
                + ", orderTotalFee=" + totalFee + ", userId=" + userId
                + ", createTime=" + createTime + ", updateTime=" + updateTime
                + ", remark=" + remark + ", isDelete=" + isDelete + "]";
    }

}
